<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>后台管理-登录</title>
    <#include "common.ftl">
    <link rel="stylesheet" href="${ctx.contextPath}/css/index.css" media="all">
    <style>
        body{
            background: url("images/crm-backimg.png") no-repeat center;
            background-size: 100%;
        }
    </style>
</head>
<body>
<div class="layui-container">
    <div class="admin-login-background">
        <div class="layui-form login-form" style="opacity: 0.7">
            <form class="layui-form" action="">
                <div class="layui-form-item logo-title">
                    <h1 style="color: #00b7ee">CRM客户关系管理系统</h1>
                </div>
                <div class="layui-form-item">
                    <label class="layui-icon layui-icon-username" for="username"></label>
                    <input type="text" name="username" lay-verify="required|account" placeholder="用户名" autocomplete="off" class="layui-input" >
                </div>
                <div class="layui-form-item">
                    <label class="layui-icon layui-icon-password" for="password"></label>
                    <input type="password" name="password" lay-verify="required|password" placeholder="密码" autocomplete="off" class="layui-input" >
                </div>

                <#-- 验证码 -->
                <div class="layui-form-item">
                    <div class="layui-inline">
                        <label class="layui-icon layui-icon-vercode" for="verifyCode"></label>
                        <input type="text" name="verifyCode" lay-verify="required|verifyCode" style="width: 180px" placeholder="请输入验证码"  autocomplete="off" class="layui-input">
                    </div>
                    <div class="layui-inline" id="codeDiv">
                        <img style="position: absolute;left: 0;top: -19px" src="${ctx.contextPath}/code/get_captcha" onclick="changeVerifyCode(this)" id="authImg" alt="点击图片更换验证码">
                    </div>
                </div>

                <#-- 记住我 -->
                <div class="layui-form-item">
                      <input type="checkbox" name="rememberMe" id="rememberMe" value="true" lay-skin="primary" title="七天内免登录">
                </div>
                <div class="layui-form-item">
                    <button style="background-color: #00a2d4" class="layui-btn layui-btn-fluid" lay-submit="" lay-filter="login">立 即 登 录</button>
                </div>
            </form>
        </div>
    </div>
</div>
<script src="${ctx.contextPath}/js/index.js" charset="utf-8"></script>
</body>
</html>